<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1">
<Title>Working with classes</Title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</HEAD>
<BODY>

    <table style="width: 100%;" cellpadding="1.0px" cellspacing="1.0px">
        <tr class="mainHeadingRow">
            <td>
                <img align="left" src="logo.jpg" alt="Green Bird Software" />
            </td>
            <td>
                <table width="100%">
                    <tr>
                        <td height="120">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <img align="right" src="title_name.jpg" alt="Green Bird Software" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="thickDivBar">
            </td>
        </tr>
    </table>


<H1>Working With Classes</H1>

<P>Classes are created by clicking on the class icon on the toolbar of the main designer window, or through the <i>Objects</i> menu. When the class in in the design area, double-clicking on it will open up the class properties window. 

<P>
<img src="screenshots/class_properties.jpg" />

<P>This window will allow you to change the name of the class, as well as view an example of the code that will be generated for the class. In the lower left corner of the window there is a button for adding or removing methods and attributes from the class. Clicking on this button will open the method/attribute manipulation window.

<P>
<img src="screenshots/methods_and_attrs.jpg" />

<H3>Adding Methods</H3>

<P>Clicking on <I>Add</I> or <I>Edit</I> will open a window for editing method properties.

<P>
<img src="screenshots/method_editing.jpg" />

<P>The method editing window is a powerful feature, with many options for changing details about the generated code. Here you are able to change:
<LI>The name of the method</LI>
<LI>The access modifier, allowing it to be a <I>public</I>, <I>private</I>, or <I>internal</I> method. The default is <I>internal</I></LI>
<LI>The return type for the method. Clicking on the <I>...</I> button lauches the type browser, which lists a variety of built-in types as well as a list of all the types currently defined in the project as well.</LI>
<LI>Virtual modifiers allow you to build up class heirarchies using inheritence and interfaces.</LI>


<H3>Adding Method Implementation</H3>

<P> Clicking on the <I>Implementation</I> button opens a window where you can add an implementation for a method.

<P>
<img src="screenshots/method_impl.jpg" />

<P>
By default, methods will throw a <i>NotImplementedException</I> similar to methods generated by Visual Studio 2005. 



</BODY>
</HTML>
